<?php
namespace Service;

class Banner extends Base
{

    private $database = null;

    public function getDatabase()
    {
        if($this->database){
            return $this->database;
        }
        $this->database = $this->get(DATABASE_BANNER);
        return $this->database;
    }

    public function getList($positionIn)
    {
        return $this->getDatabase()->getList($positionIn);
    }

}